const base = 'cbv.aux.excel.order.quantity';

// eslint-disable-next-line no-shadow
export function search({ pg, search }) {
  return RSocket.rs({
    route: `${base}`,
    args: {
      pg: { ...pg },
      search: {
        ...search,
      },
    },
  });
}

// eslint-disable-next-line no-shadow
export function count({ search }) {
  return RSocket.rr({
    route: `${base}.count`,
    args: {
      search: {
        ...search,
      },
    },
  });
}
